/*
 *  Copyright (c)  2016-NOW  Jacars Co.Ltd.
 *  All rights reserved.
 */
package com.jacars.biz.user.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jacars.biz.user.dao.service.JsptPostService;
import com.jacars.biz.user.service.PostService;
import com.jacars.biz.user.vo.JsptPostVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 岗位表 服务实现类
 *
 * @author Chill
 */
@Service
public class PostServiceImpl implements PostService {

    private final JsptPostService jsptPostService;

    public PostServiceImpl(JsptPostService jsptPostService) {
        this.jsptPostService = jsptPostService;
    }

    @Override
    public IPage<JsptPostVO> selectPostPage(IPage<JsptPostVO> page, JsptPostVO post) {
        return jsptPostService.selectPostPage(page, post);
    }

    @Override
    public String getPostIds(String tenantId, String postNames) {

        return jsptPostService.getPostIds(tenantId, postNames);
    }

    @Override
    public List<String> getPostNames(String postIds) {
        return jsptPostService.getPostNames(postIds);
    }

}
